Repository navigation
fix(vale): upgrade to Vale 3.29.0 - #737
Conversation
Vale 3.29.0 reads AsciiDoc and reStructuredText in process and embeds typst2vast, so .adoc, .asc, .asciidoc, .rst, .rest and .typ no longer abort a run on a host without the converter. Measured with none of asciidoctor, rst2html or typst2vast on PATH, each is markup now: prose lints, and a listing or literal block and a comment do not. It also reads LaTeX (.tex left the plaintext list; .ltx and .latex are new rows) and Markdoc (.mdoc, .markdoc) as markup. Every other row measured unchanged, and .dita and .xml remain the converter tier. Move the rows in VALE_FORMAT_TIERS and pin them with markup fixtures in the vendor contract. The converter-skip tests and the recipes' hazard glob used AsciiDoc and Typst as their example; they now use DITA and XML, which still crash the same way, measured. Bump the route and create-vale-rule topics, add the 0.13.9 update ledger entry, and grow the changeset.
|
@claude /review |
|
Claude finished @aibex-agent[bot]'s task in 3m 51s —— View job Review mode: incremental — read 0 prior review thread(s) before reviewing.
SummaryThe core of this PR — moving eleven extensions in Three small things worth cleaning up, none of them affecting behavior (docs/comments only), and outside any diff hunk so I could not anchor them as inline PR comments — reported here instead:
Also noted, not flagged as a finding: a couple of the edited doc comments ( I did not run the build/lint/test suite myself; the PR body already reports |
| **LaTeX and Markdoc are read as markup.** `.tex` used to be linted | ||
| as one block of prose, commands, math and `%%` comments included. It |
There was a problem hiding this comment.
[New] `%%` comments looks like a typo — LaTeX's comment character is a single %, and every other place this PR touches (the vendor-contract fixture's % simply, and capabilities.ts's "skips math, \verb and % comments") uses a single %. Doubling it here is inconsistent and likely unintentional.
There was a problem hiding this comment.
Intentional, not a typo: the recipes under src/agent/ are rendered through sprintf (they carry %(VALE_VERSION)s-style placeholders), so a literal percent sign has to be written %%. With a bare % here, taskless agent update failed with [sprintf] unexpected placeholder. The rendered section reads a single %: pnpm cli agent update --section migrating-to-0-13-9 prints "commands, math and % comments included", and the new reconcile-marker test renders that section, so a regression to a bare % fails it.
…cstrings The exclusion-glob, buildValeGlob and valeConverterList docstrings still illustrated the crash with .adoc and .rst, which 3.29.0 reads natively. Re-wrap the comment paragraphs this PR edited in place.
|
Review follow-up, in 425675b:
Also re-wrapped the comment paragraphs this PR had extended in place. |
Lands the Vale 3.29.0 upgrade from #731 together with the fixes it needs, as a lateral PR (AGENTS.md, "Landing a machine-generated vendor bump"). The branch is cut from #731's head, so it carries the bump commit (
550b6c8c: the seven@taskless/vale-*pins,VALE_VERSION, the lockfile and the regenerated vocabulary). #731 gets closed once this lands.What 3.29.0 changed, measured
Every row of
VALE_FORMAT_TIERSwas re-probed against the 3.29.0 binary. All probes were run with none ofasciidoctor,rst2htmlortypst2vaston PATH..adoc.asc.asciidocasciidoctor), run aborts.rst.restrst2html), run aborts.typtypst2vast), run aborts.tex\verb,%comments skipped).ltx.latex.mdoc.markdoc.dita.xmlEvery other row measured the same. A malformed stray
.yamlbeside an explicitly enabled rule is still ignored, so 3.29.0 loading rules from.yamldoesn't affect us.Changes
capabilities.ts: moved the rows above and added a 3.29.0 entry to the table's bump history.\verb, code fences). The converter tests now cover only.dita/.xml.vale-formats,vale-orchestration,formats.ts,run.ts): these used AsciiDoc/rST/Typst as the crashing example. They now use DITA/XML, which still crash the same way (.ditaexits 2 withE100,.DITAlints as plain text, measured). A new test asserts the six formats are no longer excluded.routeandcreate-vale-ruleis now[*.{md,dita}], and both recipes state that AsciiDoc, reStructuredText, Typst, LaTeX and Markdoc are markup on 3.29.0. Both topic revisions are bumped (route v13, create-vale-rule v24).updateledger: added a 0.13.9 entry describing what existing rules now report differently, with a test.vale-3-29-0.mdgrows to say what users will see..taskless/taskless.jsonreconciled to Vale 3.29.0 withupdate --rules.Checks
pnpm typecheckandpnpm lintpass. The full CLI suite passes (3459 passed, 11 skipped), including all 247 vendor-contract tests against the real 3.29.0 binary.Refs #731